import request from "@/request";

/**
 * 根据用户ID登录
 *
 * @param data 登录参数
 * @returns 登录结果
 */
export const loginById = (data) =>
  request({
    url: "/auth-server/login/loginById",
    method: "post",
    data,
  });
